package com.ship.boats.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.boats.domain.SpBoatsReceivingStation;
import com.ship.boats.domain.SpBoatsWeather;
import com.ship.boats.domain.dto.QueryReceivStationRq;
import com.ship.boats.domain.vo.QueryBoatsReceivingStationInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BoatsReceivingStationMapper extends BaseMapper<SpBoatsReceivingStation> {
    List<SpBoatsReceivingStation> queryBoatsReceivingStationList(@Param("query") QueryReceivStationRq query);

    QueryBoatsReceivingStationInfo queryBoatsReceivintStationById(@Param("id") String id);

    SpBoatsWeather queryBoatsWeather(@Param("lat") String lat,@Param("lon") String lon);

}
